from django import forms
from django.contrib.auth.forms import UserCreationForm, UserChangeForm
from .models import CCUser

class CCUserCreationForm(UserCreationForm):
    class Meta(UserCreationForm):
        model = CCUser
        fields = ('username', 'email')

class CCUserChangeForm(UserChangeForm):
    class Meta:
        model = CCUser
        fields = ('username', 'email')
